﻿@model BrnMall.Web.StoreAdmin.Models.PreviewStoreAppModel

@section header{
    <title>微信支付设置</title>
    <link type="text/css" rel="stylesheet" href="/admin_store/css/site.css" />
    <script type="text/javascript" src="/admin_store/scripts/jquery.js"></script>
    <script type="text/javascript" src="/admin_store/scripts/jquery.validate.js"></script>
    <script type="text/javascript" src="/admin_store/scripts/jquery.validate.unobtrusive.js"></script>
  
}

@section body{
    <h1 class="rightH1">
		微信小程序 &gt; <span class="rightH1-cur">小程序体验</span>
        <div class="right">
            <a href="@Url.Action("StoreAppList","WeApp")" class="menuBT"><img src="/admin_store/images/goback.jpg" />返回列表</a>
            <div class="clear"></div>
        </div>
        <div class="clear"></div>
    </h1>
    <div class="addTable">
        @using (Html.BeginForm("AddStoreAppPreviewUser", "WeApp"))
        {

            @Html.HiddenFor(x => x.StoreAppId)

            <table width="100%">
                
                <tr>
                    <td width="180px" align="right">扫码体验：</td>
                    <td>
                        <img src="@Model.QrcodeUrl" width="125" height="125"/>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        添加新的体验者：
                    </td>
                    <td>
                       @Html.TextBoxFor(x=>x.WechatId, new { @class = "input", size = "35" });
                    </td>
                </tr>
                

            </table>

            <table width="100%">
                <tr>
                    <td width="180px" align="right">
                        &nbsp;
                    </td>
                    <td>
                        <a href="" class="addBt" id="sumbitBut">
                            <img src="/admin_store/images/submit.jpg" />
                        </a>
                        <script type="text/javascript">
                            $(function () {
                                $("#sumbitBut").click(function () {
                                    $("form:first").submit();
                                    return false;
                                })
                            });
                        </script>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        &nbsp;
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
            </table>
        }
    </div>
}